package org.example.model.exhibitor.pojos;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("expert")
public class Expert {
    @TableId(value = "pk_id",type = IdType.INPUT)
    @ColumnWidth(20)
    @ExcelProperty(value = "专家id")
    private Integer pkId;//专家id

    @ColumnWidth(20)
    @ExcelProperty(value = "专家姓名")
    private String expertName;

    @ColumnWidth(20)
    @ExcelProperty(value = "专家介绍")
    private String expertContent;

    @ColumnWidth(20)
    @ExcelProperty(value = "专家头像")
    private String expertImg;
}
